.class Lcom/nemustech/regina/ReginaWallpaperSelector$1;
.super Ljava/lang/Object;
.source "ReginaWallpaperSelector.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemSelectedListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/regina/ReginaWallpaperSelector;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ReginaWallpaperSelector;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ReginaWallpaperSelector;)V
    .locals 0
    .parameter

    .prologue
    .line 150
    iput-object p1, p0, Lcom/nemustech/regina/ReginaWallpaperSelector$1;->this$0:Lcom/nemustech/regina/ReginaWallpaperSelector;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemSelected(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 4
    .parameter
    .parameter "view"
    .parameter "position"
    .parameter "id"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .line 154
    .local p1, parent:Landroid/widget/AdapterView;,"Landroid/widget/AdapterView<*>;"
    iget-object v1, p0, Lcom/nemustech/regina/ReginaWallpaperSelector$1;->this$0:Lcom/nemustech/regina/ReginaWallpaperSelector;

    invoke-static {v1}, Lcom/nemustech/regina/ReginaWallpaperSelector;->access$200(Lcom/nemustech/regina/ReginaWallpaperSelector;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    .line 155
    .local v0, resId:Ljava/lang/Integer;
    iget-object v1, p0, Lcom/nemustech/regina/ReginaWallpaperSelector$1;->this$0:Lcom/nemustech/regina/ReginaWallpaperSelector;

    invoke-static {v1}, Lcom/nemustech/regina/ReginaWallpaperSelector;->access$600(Lcom/nemustech/regina/ReginaWallpaperSelector;)Landroid/widget/ImageView;

    move-result-object v1

    iget-object v2, p0, Lcom/nemustech/regina/ReginaWallpaperSelector$1;->this$0:Lcom/nemustech/regina/ReginaWallpaperSelector;

    invoke-static {v2}, Lcom/nemustech/regina/ReginaWallpaperSelector;->access$100(Lcom/nemustech/regina/ReginaWallpaperSelector;)Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v3

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 156
    return-void
.end method

.method public onNothingSelected(Landroid/widget/AdapterView;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;)V"
        }
    .end annotation

    .prologue
    .line 160
    .local p1, parent:Landroid/widget/AdapterView;,"Landroid/widget/AdapterView<*>;"
    return-void
.end method
